<template>
    <svg class="bi-svg" aria-hidden="true">
      <use :xlink:href="iconName"></use>
    </svg>
  </template>
  <script lang="ts">
  import { defineComponent , computed} from "vue";
   
  export default defineComponent({
    name: "BiSvg",
    props: {
      iconClass: {
        type: String,
        default: "",
      },
    },
    setup(props) {
    return {
      iconName: computed(() => `#${props.iconClass}`)
    }
  }
  });
  </script>
  <style type="text/css" scoped>
  .bi-svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.09em;
    fill: currentColor;
    overflow: hidden;
    margin-right: 3px;
  }
  </style>